package com.noble.meether.ui.invite.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * 邀请列表
 */
public class InviteList extends BaseData{
    private ArrayList<Invite> inviteList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.inviteList = (ArrayList<Invite>) getBaseDataList(jsonArray, Invite.class);
    }

    public ArrayList<Invite> getInviteList() {
        return inviteList;
    }
}
